﻿@model _2._12._2015_Smartphone.Models.AndroidViewModel
@{
    ViewBag.Title = "Home Page";
}

<h2>Android Smartphones</h2>
<div class="row">
    <div class="col-md-12">
        <table class="table table-bordered table-striped">
            <tr>
                <th>GPS</th>
                <th>Makes Calls</th>
                <th>Assistant</th>
                <th>Favorite Widget</th>
            </tr>
            @foreach (var s in Model.SmartPhones)
            {
                <tr>
                    <td>@(s.HasGPS ? "Yes" : "No")</td>
                    <td>@(s.MakeCall ? "Yes" : "No")</td>
                    <td>@s.Assistant</td>
                    <td>@s.FavoriteWidget</td>
                </tr>
            }
        </table>
    </div>
</div>